export default {
  data() {
    return {};
  },
  computed: {
    fileds() {
      return [{
          key: "name",
          filedType: "Input",
          layout: {
            span: 3,
          },
          itemProps: {
            prop: "name",
          },
          props: {
            placeholder: "请输入群名称",
          },
        },
        {
          key: "status",
          filedType: "Select",
          layout: {
            span: 3,
          },
          itemProps: {
            prop: "status",
          },
          options: [{
            label: '启用',
            value: 1
          }, {
            label: '禁用',
            value: 0
          }],
          props: {
            placeholder: "请选择状态",
          },
        },
      ];
    },
    column() {
      return [{
          type: "selection",
          width: "55",
        },
        {
          type: "index",
          width: "50",
          label: "序号",
        },
        {
          prop: "name",
          label: "群名称",
        },
        {
          prop: "description",
          label: "群描述",
        },
        {
          prop: "status",
          label: "状态",
        },
        {
          prop: "operate",
          label: "操作",
          isSlot: true,
        },
      ];
    },
  },
};
